www.gusucode.com > 茶都拼客网全功能版 8 > 茶都拼客网全功能版 8.8源码程序/teasdxmccom/茶都拼客网V8.8(全功能,无限制,完全开源)/Ku_type/User/User_headpic.asp
<% userheadpic = rshy("UserPhoto")%> <form method="POST" action="Deal_user.asp?Action=editheadpic&userid=<%=rshy("id")%>" name="addNEWS"> <div align="center"> <table border="0" width="733" height="422" bgcolor="#EFEFEF" cellpadding="0" cellspacing="1"> <tr> <td height="38" width="733" bgcolor="#FFFFFF"> <p align="center"><b>修 改 头 像</b></td> </tr> <tr> <td height="381" width="733" bgcolor="#FFFFFF" valign="top"><br> <div align="center"> <table border="0" width="724" id="table1" height="182" cellpadding="0" cellspacing="1" bgcolor="#EFEFEF"> <tr> <td align="center" width="118" height="34" bgcolor="#FFFFFF"> <p align="right"> <b>选择系统头像</b>:</td> <td align="center" width="363" height="34" bgcolor="#FFFFFF"> <p align="left"> <select name="UserPhoto" size="1" id="select5" onChange="document.all.idface.src=options[selectedIndex].value;"> <option value="img/face/01.gif" <%if userheadpic="img/face/01.gif" then response.Write"selected" end if%>> 女生头像—1</option> <option value="img/face/02.gif" <%if userheadpic="img/face/02.gif" then response.Write"selected" end if%>> 女生头像—2</option> <option value="img/face/03.gif" <%if userheadpic="img/face/03.gif" then response.Write"selected" end if%>> 女生头像—3</option> <option value="img/face/04.gif" <%if userheadpic="img/face/04.gif" then response.Write"selected" end if%>> 女生头像—4</option> <option value="img/face/05.gif" <%if userheadpic="img/face/05.gif" then response.Write"selected" end if%>> 女生头像—5</option> <option value="img/face/06.gif" <%if userheadpic="img/face/06.gif" then response.Write"selected" end if%>> 女生头像—6</option> <option value="img/face/07.gif" <%if userheadpic="img/face/07.gif" then response.Write"selected" end if%>> 女生头像—7</option> <option value="img/face/08.gif" <%if userheadpic="img/face/08.gif" then response.Write"selected" end if%>> 女生头像—8</option> <option value="img/face/09.gif" <%if userheadpic="img/face/09.gif" then response.Write"selected" end if%>> 男生头像—1</option> <option value="img/face/10.gif" <%if userheadpic="img/face/10.gif" then response.Write"selected" end if%>> 男生头像—2</option> <option value="img/face/11.gif" <%if userheadpic="img/face/11.gif" then response.Write"selected" end if%>> 男生头像—3</option> <option value="img/face/12.gif" <%if userheadpic="img/face/12.gif" then response.Write"selected" end if%>> 男生头像—4</option> <option value="img/face/13.gif" <%if userheadpic="img/face/13.gif" then response.Write"selected" end if%>> 男生头像—5</option> <option value="img/face/14.gif" <%if userheadpic="img/face/14.gif" then response.Write"selected" end if%>> 男生头像—6</option> <option value="img/face/15.gif" <%if userheadpic="img/face/15.gif" then response.Write"selected" end if%>> 男生头像—7</option> <option value="img/face/16.gif" <%if userheadpic="img/face/16.gif" then response.Write"selected" end if%>> 男生头像—8</option></select></td> <td align="center" width="239" rowspan="3" bgcolor="#FFFFFF"> <%if userheadpic<>"" then%><img src='<%=userheadpic%>' border=0 id=idface><%else%><img src='img/face/09.gif' border=0 width=75 height=75 id=idface><%end if%></td> </tr> <tr> <td align="center" width="118" height="78" bgcolor="#FFFFFF"> <p align="right"><b>上传头像</b>:</td> <td align="center" width="440" height="78" bgcolor="#FFFFFF"> <p align="left"> <input type="text" name="pic1" size="35" value="<%=rsuser("UserPhoto")%>"> <input type="checkbox" name="hpic" value="1" <%if len(rsuser("UserPhoto"))>16 then%> checked<%end if%>>(自定义请打勾)<br> 请输入图片完整的网络地址,如:http://tea.sdxmc.com/ku_Img/nopic120-90.gif<br> <iframe frameborder=0 width=290 height=25 scrolling=no src="Upload.asp?action=pro"></iframe> <br> 图片只能为JPG/GIF格式,大小小于500K<br> </td> </tr> <tr> <td align="center" width="482" bgcolor="#FFFFFF" colspan="2"> <input type="submit" value="修改头像" name="B1"></td> </tr> </table> </div> </td> </tr> </table> </div></form>